home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / src / midasnt.mak < prev    next >
Encoding:
Text File  |  1997-01-16  |  3.0 KB  |  113 lines

  1. #*      midasnt.mak
  2. #*
  3. #* Make script for MIDAS Sound System Windows NT library
  4. #*
  5. #* $Id: midasnt.mak,v 1.14 1997/01/16 18:41:59 pekangas Exp $
  6. #*
  7. #* Copyright 1996,1997 Housemarque Inc.
  8. #*
  9. #* This file is part of the MIDAS Sound System, and may only be
  10. #* used, modified and distributed under the terms of the MIDAS
  11. #* Sound System license, LICENSE.TXT. By continuing to use,
  12. #* modify or distribute this file you indicate that you have
  13. #* read the license and understand and accept it fully.
  14. #*
  15.  
  16. # Note! use "nmake -f midasnt.mak VISUALC=1" to compile for Visual C!
  17.  
  18. # Compilers and options:
  19.  
  20. !ifdef VISUALC
  21. CC = cl
  22. CCOPTS =  -c -W3 -WX -YX -Zp1 -MT -nologo -O2 -Ot -G5 -D__VC32__ -DDEBUG \
  23.         -DNOTIMER -D__NT__
  24. ASM = tasm
  25. ASMOPTS = -UT310 -p -m9 -zi -d__VC32__ -dDEBUG
  26. !else
  27. CC = wcc386
  28. CCOPTS = -w3 -we -oneatx -5r -bt=nt -mf -d__WC32__ -dDEBUG -dNOTIMER -D__NT__
  29. #CCOPTS = -w3 -d2 -we -5r -bt=nt -mf -fh -fhq -d__WC32__ -dDEBUG -dNOTIMER -D__NT__
  30. ASM = tasm
  31. ASMOPTS = -UT310 -p -m9 -zi -d__WC32__ -dDEBUG
  32. !endif
  33.  
  34. LIBNAME = midasnt.lib
  35.  
  36. !ifdef VISUALC
  37. LIBCMDS = midasnt.vcl
  38. LIBCMD = lib /OUT:$(LIBNAME) /DEBUGTYPE:CV @$(LIBCMDS)
  39. !else
  40. LIBCMDS = midasnt.
  41. LIBCMD = wlib -c -n $(LIBNAME) @$(LIBCMDS)
  42. !endif
  43.  
  44.  
  45. # These definitions ensure that the includes work OK:
  46. O = obj
  47.  
  48. # Macros for MIDAS includes:
  49. !include mincs.mak
  50.  
  51. $(LIBNAME) : midas.obj dsm.obj dsmmix.obj mmem.obj errors.obj \
  52.         mutils.obj winwave.obj postproc.obj mglobals.obj \
  53.         gmplayer.obj gmpcmds.obj file.obj rawf_nt.obj loadmod.obj \
  54.         loadxm.obj loads3m.obj vu.obj dsmnsnd.obj mpoll.obj midasfx.obj \
  55.         midasstr.obj midasdll.obj
  56.         $(LIBCMD)
  57.  
  58. # Default rules:
  59. .c.obj :
  60.         $(CC) $< $(CCOPTS)
  61.  
  62. .asm.obj :
  63.         $(ASM) $< $(ASMOPTS)
  64.  
  65.  
  66. # Dependencies for MIDAS files:
  67. !include mcdeps.mak
  68. !include madeps.mak
  69.  
  70.  
  71. #* $Log: midasnt.mak,v $
  72. #* Revision 1.14  1997/01/16 18:41:59  pekangas
  73. #* Changed copyright messages to Housemarque
  74. #*
  75. #* Revision 1.13  1996/12/07 21:42:30  pekangas
  76. #* Now defines __NT__ on compiler command lines
  77. #*
  78. #* Revision 1.12  1996/09/25 18:37:10  pekangas
  79. #* Added midasdll
  80. #*
  81. #* Revision 1.11  1996/09/22 23:02:32  pekangas
  82. #* Added midasfx and midasstr modules
  83. #*
  84. #* Revision 1.10  1996/09/02 20:19:16  pekangas
  85. #* Added -MT flag for Visual C
  86. #*
  87. #* Revision 1.9  1996/09/01 15:40:28  pekangas
  88. #* Added -we flag to Watcom C
  89. #*
  90. #* Revision 1.8  1996/08/13 20:47:42  pekangas
  91. #* Changed rawfile.obj to rawf_nt.obj
  92. #*
  93. #* Revision 1.7  1996/08/06 20:35:10  pekangas
  94. #* Added mpoll.obj and changed the compiler flags to full optimization
  95. #*
  96. #* Revision 1.6  1996/07/29 19:33:29  pekangas
  97. #* Added dsmnsnd.obj, some cleanup
  98. #*
  99. #* Revision 1.5  1996/07/16 20:21:21  pekangas
  100. #* Added support for Visual C
  101. #*
  102. #* Revision 1.4  1996/05/24 21:25:42  pekangas
  103. #* Separated assembler and C dependency information files
  104. #*
  105. #* Revision 1.3  1996/05/24 18:59:37  pekangas
  106. #* Changed to use mdeps.mak and mincs.mak
  107. #*
  108. #* Revision 1.2  1996/05/23 20:51:27  pekangas
  109. #* Added debug information to assembler modules also
  110. #*
  111. #* Revision 1.1  1996/05/22 20:49:33  pekangas
  112. #* Initial revision
  113. #*